package com.manli.api.dto;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;

/**
 * VIEW
 * 
 * @author manli
 * @email 
 * @date 2020-09-03 15:09:41
 */
@ApiModel(value = "VIEW")
@Data
public class ViewStockInfo implements Serializable {

	/**
	 * branch_id
	 */

    @ApiModelProperty(value = "branch_id",dataType = "Integer")
	    private Integer branchId;
	/**
	 * 
	 */

    @ApiModelProperty(value = "",dataType = "Integer")
	    private Integer partnerId;
	/**
	 * 唯一标识
	 */

    @ApiModelProperty(value = "唯一标识",dataType = "Integer")
	    private Integer goodsDefId;
	/**
	 * 1：到店自取 2：配送到家
	 */

    @ApiModelProperty(value = "1：到店自取 2：配送到家",dataType = "String")
	    private String buyMethod;
	/**
	 * -2草稿 ,-1提交审核(待审核)0退回,1上架成功,2下架,-3删除
	 */

    @ApiModelProperty(value = "-2草稿 ,-1提交审核(待审核)0退回,1上架成功,2下架,-3删除",dataType = "Integer")
	    private Integer goodsdefstatus;
	/**
	 * 唯一标识
	 */

    @ApiModelProperty(value = "唯一标识",dataType = "Integer")
	    private Integer goodsModelId;
	/**
	 * 0禁用 1启用，-1删除
	 */

    @ApiModelProperty(value = "0禁用 1启用，-1删除",dataType = "Integer")
	    private Integer goodsmodelstatus;
	/**
	 * 商品数量
	 */

    @ApiModelProperty(value = "商品数量",dataType = "Integer")
	    private Integer goodsTotal;
	/**
	 * 成本价
	 */

    @ApiModelProperty(value = "成本价",dataType = "Double")
	    private Double goodsModelCost;
	/**
	 * 销售价
	 */

    @ApiModelProperty(value = "销售价",dataType = "Double")
	    private Double goodsModelSalePrice;
	/**
	 * 渠道价(给系统代卖,系统会做推广,则商户收到的利润是channel_price - cost ,系统的利润是sale_price-channel_price）
	 */

    @ApiModelProperty(value = "渠道价(给系统代卖,系统会做推广,则商户收到的利润是channel_price - cost ,系统的利润是sale_price-channel_price）",dataType = "Double")
	    private Double goodsModelChannelPrice;
	/**
	 * 原价
	 */

    @ApiModelProperty(value = "原价",dataType = "Double")
	    private Double goodsModelSourcePrice;
	/**
	 * 
	 */

    @ApiModelProperty(value = "",dataType = "Long")
	    private Long salescount;
	/**
	 * 
	 */

    @ApiModelProperty(value = "",dataType = "Long")
	    private Long stockcount;
	/**
	 * 
	 */

    @ApiModelProperty(value = "",dataType = "String")
	    private String wechatmchid;
	/**
	 *  -1取消订单 0 待支付 1支付成功  2 退款中  3已退款  4 已使用（已核销）
	 */

    @ApiModelProperty(value = " -1取消订单 0 待支付 1支付成功  2 退款中  3已退款  4 已使用（已核销）",dataType = "Integer")
	    private Integer status;

}
